The y position of point i on a path (0 if i is out of range).
path_point_y(p, i) -> real| Name | Type |
|---|---|
p | path |
i | int |
real
The y position of point i on a path (0 if i is out of range) - the vertical counterpart to path_point_x.
It is a place in the room, counted from the room's top-left corner (and counting down), like an instance's own y.
var first_y = path_point_y(path_doc_patrol, 0);Reads the y position of path_doc_patrol's own first drawn control point.